package com.cx.dto;

/**
 * 负责封装品牌对应酒店的数据
 */
public class HotelRecommend {
    private String hotelImgUrl;
    private String hotelContent;
    private String hotelName;
    //private String httpAddress = "localhost:8080/";//后面项目地址不一致改动这里即可

    public String getHotelImgUrl() {
        return hotelImgUrl;
    }
    public void setHotelImgUrl(String hotelImgUrl) {
        this.hotelImgUrl = "http://localhost:8888/" + hotelImgUrl;
    }
    public String getHotelContent() {
        return hotelContent;
    }

    public void setHotelContent(String hotelContent) {
        this.hotelContent = hotelContent;
    }
    public String getHotelName() {
        return hotelName;
    }
    public void setHotelName(String hotelName) {
        this.hotelName = hotelName;
    }
    @Override
    public String toString() {
        return "HotelRecommend{" +
                "hotelImgUrl='" + hotelImgUrl + '\'' +
                ", hotelContent='" + hotelContent + '\'' +
                ", hotelName='" + hotelName + '\'' +
                '}';
    }
}
